<div class="page-content" >
	<div class="panel panel-default">
		<div class="panel-heading"> <strong>会员管理</strong> </div>
		<div class="panel-body">
			<div id="toolbar" style="width: 100%;">
				<form id="filter" method="get" action="<{:U('index')}>" class="form-horizontal">
					<div class="form-group">
						<div class="col-sm-3">
						 
							<input type="text" name="kw" class="form-control"  value="<{$_REQUEST['kw']}>" placeholder="用户名/昵称" />
						</div>
						<div class="col-sm-4" style="float:right; width:auto">
							<input type="submit" class="btn btn-primary pull-right" value="筛选">
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-8"> <!--<a  href="<{:addons_url('Auth/Index/rule_add')}>" class="btn btn-default"> <i class="fa fa-plus"></i> 添加权限 </a>--> </div>
					</div>
				</form>
			</div>
			<div class="bootstrap-table">
				<div class="fixed-table-container" style="padding-bottom: 0px;">
					<div class="fixed-table-body">
						<table id="data-table" class="table">
							<thead>
								<tr>
									<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="name"><div class="th-inner ">用户名</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="name"><div class="th-inner ">手机号</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="name"><div class="th-inner ">昵称</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="id"><div class="th-inner ">操作</div>
										<div class="fht-cell"></div></th>
								</tr>
							</thead>
							<tbody>
								<volist name="data" id="vo">
									<tr data-index="0">
										  <td height="34" align="center" valign="middle" class="v_am_font"><input type="checkbox" name="user_id[]" value="<{$vo.user_id}>"><{$vo.user_id}></td>
                        <td height="36" align="center" valign="middle"><{$vo.user_name}></td>
						  <td height="36" align="center" valign="middle"><{$vo.phone}></td> 
						  <!-- <td height="36" align="center" valign="middle"><{$vo.email}></td> -->
                         <td height="36" align="center" valign="middle"><{$vo.nickname}></td> 
                        <td style="">
						 <if condition="$vo.forbidden eq 0">
                        	<a  href="<{:U('lock',array('id'=> $vo['user_id'],'p'=>I('p')))}>" class="btn btn-primary btn-xs">禁用</a>
                            <elseif condition="$vo.forbidden eq 1" />
                            <a  href="<{:U('recover',array('id'=> $vo['user_id'],'p'=>I('p')))}>" class="btn btn-primary btn-xs">恢复</a>
                            </if>
                            <a  href="<{:U('add',array('id'=> $vo['user_id']))}>" class="btn btn-primary btn-xs">编辑</a>
                         <!--   <a onclick=" return confirm('确认要删除吗？')" href="<{:U('delete',array('id'=> $vo['user_id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;删除</a>   -->
						 </td>
									</tr>
								</volist>
							</tbody>
						</table>
					</div>
					<include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" /> </div>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
</div>

 